Auto merge of #3301 - integer32llc:categories, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Jan 2017 18:57:20 +0000 (18:57 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Jan 2017 18:57:20 +0000 (18:57 +0000)
commit7ba201265f073e4938c4a4166008c63622f10a63
tree6baff33f5c0e543900092137397e5f77df3c75d5
parenta43403b3ec64cb4940250e02e616729e67e442f9
parentf697b8c68d56fb2acb66accacb449b7bcb49d838
Auto merge of #3301 - integer32llc:categories, r=alexcrichton

Upload categories specified in the manifest

This adds support for uploading categories to crates.io, if they are specified in the manifest.

This goes with rust-lang/crates.io#473. It should be fine to merge this PR either before or after that one; crates.io master doesn't care if the categories are in the metadata or not. With that PR, I was able to use this patch with cargo to add categories to a crate!
src/cargo/core/manifest.rs
src/cargo/ops/registry.rs
src/cargo/util/toml.rs
src/doc/manifest.md